<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<#include "/admin/head.html"/>
		<script>
		function my(){
			var a = document.getElementById("x").value;
			if(""==a||isNaN(a))
			{
				document.getElementById("xx").innerHTML ="<font color='red'>请输入数字</font>";
				return false;
			}
			var b = document.getElementById("y").value;
			if(""==b||isNaN(b))
			{
				document.getElementById("yy").innerHTML ="<font color='red'>请输入数字</font>";
				return false;
			}
			return true;
		}
		</script>
	</head>

	<body>
				<div class="box-positon">
	<div class="rpos">当前位置:  会员信用信息表 - 编辑</div>
	<form class="ropt">
		<input type="button" value="返回列表" onclick="history.back();"/>
	</form>
	<div class="clear"></div>
	</div>
				<div class="mc_content">
				<form action="o_tmembercreditSave.do" method="post">
				<input type="hidden" name="mcid" value="${mcid!!}"/>
					<table width="100%" cellspacing="1" cellpadding="5" border="0"
						bgcolor="#C8DCF0" align="center">

						<tbody>
							<tr>
								<td width="150" height="25" bgcolor="#f6fbff" align="right">
									账户
								</td>
								<td bgcolor="#FFFFFF">
								<input type="text" name="loginname" value="${Tmember.loginname!!}" disabled="disabled"/>
								<label></label>
								</td>
							</tr>
							<tr>
								<td width="150" height="25" bgcolor="#f6fbff" align="right">
									信用总分
								</td>
								<td bgcolor="#FFFFFF">
								<input id="x" type="text" name="creditscore" value="${creditscore!!}"/>
								<label id="xx" ></label>
								</td>
							</tr>
							<tr>
								<td width="150" height="25" bgcolor="#f6fbff" align="right">
									信用等级
								</td>
								<td bgcolor="#FFFFFF">
								<select name="creditrating">
								<option value="AA" <#if (creditrating=='AA')>selected="selected"</#if>>AA</option>
								<option value="A" <#if (creditrating=='A')>selected="selected"</#if>>A</option>
								<option value="B" <#if (creditrating=='B')>selected="selected"</#if>>B</option>
								<option value="C" <#if (creditrating=='C')>selected="selected"</#if>>C</option>
								<option value="D" <#if (creditrating=='D')>selected="selected"</#if>>D</option>
								<option value="E" <#if (creditrating=='E')>selected="selected"</#if>>E</option>
								<option value="HR" <#if (creditrating=='HR')>selected="selected"</#if>>HR</option>
								</select>
								</td>
							</tr>
							<tr>
								<td width="150" height="25" bgcolor="#f6fbff" align="right">
									最高授信总额
								</td>
								<td bgcolor="#FFFFFF">
								<input id="y" type="text" name="totalcredits" value="${totalcredits!!}" />
								<label id="yy" ></label>
								</td>
							</tr>
							
							
							<tr>
								<td width="150" height="25" bgcolor="#f6fbff" align="center" colspan="2">
									<input type="submit" value="保存" onclick="return my()"/>
								</td>
							</tr>
						</tbody>
					</table>
					</form>
				</div>
			<div style="clear: both"></div>
	</body>
</html>
